package net.wofly.sale.report.domain;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author siqingwei
 */
@Data
@Entity
public class OutStockDTO {
	@Id
	private String uuid;
		/**
		 * 销售者
		 */
		private String saleUserID;
	/**
	 * 销售者
	 */
	private String saleUserName;
		/**
		 * 商品终端ID
		 */
		private String commodityTerminalID;
		/**
		 * 商品终端名称
		 */
		private String commodityTerminalName;
		/**
		 * 销售的商品数量
		 */
		private Long sale;

		public OutStockDTO() {
		}

		public OutStockDTO(String saleUserID, String saleUserName, String commodityTerminalID, String commodityTerminalName, Long sale) {
			this.saleUserID = saleUserID;
			this.saleUserName = saleUserName;
			this.commodityTerminalID = commodityTerminalID;
			this.commodityTerminalName = commodityTerminalName;
			this.sale = sale;
		}
	}